package com.example.springbootone.cnofig;

import com.example.springbootone.pojo.Emp;
import com.example.springbootone.pojo.Pet;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyConfig {
    @Bean
    public Emp emp(){
        return new Emp();
    }
    @Bean
    public Pet pet(){
        return new Pet();
    }
}
